package com.gzhryc.shared_device.common.payment.dao.enums;

public class AlipayConfigEnum {

    public static enum AppType {

        alixcx(2, "支付宝小程序");

        private Integer index;
        private String note;

        AppType(Integer index, String note) {
            this.index = index;
            this.note = note;
        }

        public Integer index() {
            return index;
        }

        public String note() {
            return note;
        }

        public static String note(Integer index) {
            AppType[] temp = AppType.values();
            for (int i = 0; i < temp.length; i++) {
                AppType item = temp[i];
                if (item.index.equals(index)) {
                    return item.note;
                }
            }
            return null;
        }
    }


}
